package com.guofen.dao;

import com.guofen.pojo.ShljBlockageCleaning;
import com.guofen.pojo.ShljWaterMeter;
import com.guofen.pojo.ShljYijingStationSelling;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ShljYijingStationSellingMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShljYijingStationSelling record);

    int insertSelective(ShljYijingStationSelling record);

    ShljYijingStationSelling selectByPrimaryKey(Integer id);

    ShljYijingStationSelling getLast();

    List<ShljYijingStationSelling> getrecord_day();

    int updateByPrimaryKeySelective(ShljYijingStationSelling record);

    int updateByPrimaryKey(ShljYijingStationSelling record);

    List<ShljYijingStationSelling> selectAll();

    List<ShljYijingStationSelling> selectByDate(@Param("startDate") String startDate,
                                            @Param("endDate") String endDate);
}